<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!-- 管理员登录后的导航栏 -->
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>

<script src="/ScienceManagement/jquery/jquery-2.1.1.min.js"></script>
  <link href="/ScienceManagement/bootstrap/css/bootstrap.css" type="text/css" rel="stylesheet"/>
  <script src="/ScienceManagement/bootstrap/js/bootstrap.js"></script>
</head>
<body>
        <!-- 导航栏 -->
<nav class="navbar navbar-default">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand">科研管理系统</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li><a href="/ScienceManagement/GetCiteInfo">论文引用 <span class="sr-only">(current)</span></a></li>
        <li><a data-toggle="modal" data-target="#myModal">添加获奖信息</a></li>
        <li><a href="/ScienceManagement/GetProjects">项目信息</a></li>
		<li><a href="/ScienceManagement/ManageGetAwards">查询获奖信息</a></li>
		<li><a href="/ScienceManagement/GetAllSubs">查询申报表</a></li>
		<li><a data-toggle="modal" data-target="#myModal1">修改申报表</a></li>
		<li><a href="/ScienceManagement/ManageGetUsers">查找用户</a></li>
      </ul>

      <ul class="nav navbar-nav navbar-right ">
        <li><a href="/ScienceManagement/logout"><span class="btn btn-danger">退出</span></a></li>
      </ul>
    </div>
  </div>
</nav>



<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">添加获奖信息</h4>
      </div>
      <div class="modal-body">
        <form action="/ScienceManagement/GetFormAward" class="form-horizontal" id="yyy">
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">获奖编号</label>
    <div class="col-sm-10">
      <input type="text" name="awardProjectSerialNumber" class="form-control" id="awardProjectSerialNumber" >
    </div>
  </div>
    <div class="form-group">
      <label for="inputEmail3" class="col-sm-2 control-label">项目名称</label>
      <div class="col-sm-10">
        <input type="text" name="awardProjectName" class="form-control" id="awardProjectName" >
      </div>
    </div>
  
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">获奖等级</label>
    <div class="col-sm-10">
      <input type="text" name="levelOfAward" class="form-control" id="levelOfAward" >
    </div>
  </div>
</form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn xxx btn-success" data-dismiss="modal">保存</button>
      </div>
    </div>
  </div>
</div>





<!-- 修改申报表信息的modal -->
<div class="modal fade" id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel1">修改申报表信息</h4>
      </div>
      <div class="modal-body">
        <form action="/ScienceManagement/GetModifySub" class="form-horizontal" id="yyyyyy">
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">项目编号</label>
    <div class="col-sm-10">
      <input type="text" placeholder="待修改项目的编号" name="projectSerialNumber" class="form-control" id="projectSerialNumber1" >
    </div>
  </div>
    <div class="form-group">
      <label for="inputEmail3" class="col-sm-2 control-label">项目名称</label>
      <div class="col-sm-10">
        <input type="text" name="projectName"  placeholder="待修改项目的名称" class="form-control" id="projectName1" >
      </div>
    </div>
  
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">项目状态</label>
    <div class="col-sm-10">
      <input type="text" name="projectStatus"  placeholder="输入状态位" class="form-control" id="projectStatus1" >
    </div>
  </div>
</form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn xxxxxx btn-success" data-dismiss="modal">保存</button>
      </div>
    </div>
  </div>
</div>








<script type="text/javascript">
  $(".xxx").click(function(){
    $("#yyy").submit()
  })

   $(".xxxxxx").click(function(){
    $("#yyyyyy").submit()
  })
</script>

</body>
</html>